<h1>Listing sellers</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Pending</th>
    <th>Mobile</th>
    <th>Mobile1</th>
    <th>Address</th>
    <th>Others</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @sellers.each do |seller| %>
  <tr>
    <td><%= seller.name %></td>
    <td><%= seller.pending %></td>
    <td><%= seller.mobile %></td>
    <td><%= seller.mobile1 %></td>
    <td><%= seller.address %></td>
    <td><%= seller.others %></td>
    <td><%= link_to 'Show', seller %></td>
    <td><%= link_to 'Edit', edit_seller_path(seller) %></td>
    <td><%= link_to 'Destroy', seller, method: :delete, data: { confirm: 'Are you sure?' } %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Seller', new_seller_path %>
